<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<co-btn></co-btn>
			
		</div>
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
		<script>
			
			Vue.component('co-btn' ,{
				data:function(){
					return{
						count:0
					}
				},
				template:'<div><button v-on:click="count++">提交 </button> <button v-on:click="count++">提交 </button> <button v-on:click="count++">提交 </button></div>'
				
			});
			let app = new Vue({
				el: "#app"
			});
		</script>
	</body>
</html>
